package com.example.powernodemall;

import jakarta.annotation.PostConstruct;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class GatewayServerApplication {


    @Value("${server.port}")
    String port;
    @PostConstruct
    void init() {
        System.out.println(port);
    }
    public static void main(String[] args) {
        SpringApplication.run(GatewayServerApplication.class, args);
    }

}
